//
//  LPTBaseViewController.m
//  LPTClient
//
//  Created by mac on 2018/12/2.
//  Copyright © 2018年 zhaodd. All rights reserved.
//

#import "LPTBaseViewController.h"

@interface LPTBaseViewController ()

@end

@implementation LPTBaseViewController

- (void)viewDidLoad {
    
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    [self setupBackBtn];
    // Do any additional setup after loading the view.
}

-(void)setupBackBtn
{
    self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"" style:UIBarButtonItemStylePlain target:self action:nil];
    [self.navigationController.navigationBar setBackIndicatorImage:[UIImage imageNamed:@"nav_icon_return"]];
    [self.navigationController.navigationBar setBackIndicatorTransitionMaskImage:[UIImage imageNamed:@"nav_icon_return"]];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
